#include"abstructFactory.h"
#include<iostream>
using namespace std;


abstructFactory::abstructFactory(/* args */)
{
}

abstructFactory::~abstructFactory()
{
}

concreteFactory1::concreteFactory1() {

}

concreteFactory1::~concreteFactory1() {

}

abstructproductA* concreteFactory1::createProductA() {
    return new productA1();
}

abstructproductB* concreteFactory1::createProductB() {
    return new productB1();
}


concreteFactory2::concreteFactory2() {

}

concreteFactory2::~concreteFactory2() {

}

abstructproductA* concreteFactory2::createProductA() {
    return new productA2();
}

abstructproductB* concreteFactory2::createProductB() {
    return new productB2();
}

